#include "lcd.h"

#define LCD_FB_BASE 0x33c00000

lcd_pramas lcd_4_3 = {
	.name "lcd_4_3",
		
	.lcd_polarity = {	//少了等号
		.pixel_clk = NORMAL,
		.rgb 	   = NORMAL,
		.hsync	   = INVERT,
		.vsync	   = INVERT,
		.vd_de	   = NORMAL,
		.power_en  = NORMAL,
	},

	.lcd_squence = {	//少了等号
		.pixel_clk = 9,	//9MHz
		.thp = 41,
		.thb = 2,
		.thf = 2,

		.tvp = 10,
		.tvb = 2,
		.tvf = 2,
	},

	.bpp = 16,
	.xres = 480,
	.yres = 272,

	.fb_base = LCD_FB_BASE,
};

void lcd_4_3_add(void)
{
	register_lcd(&lcd_4_3);
}







